package com.schedualnew.mq.xml;

public class ApplyInfo {
    public static String xml="<PRSC_IN010201UV01 ITSVersion=\"XML_1.0\" xmlns=\"urn:hl7-org:v3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"urn:hl7-org:v3 ../multicacheschemas/PRSC_IN010201UV01.xsd\">\n" +
            "<!-- 消息流水号 -->\n" +
            "<id root=\"2.16.156.10011.2.5.1.1\" extension=\"@BS004\" />\n" +
            "<!-- 消息创建时间 -->\n" +
            "<creationTime value=\"20120106110000\" />\n" +
            "<!-- 消息的服务标识-->\n" +
            "<interactionId root=\"2.16.156.10011.2.5.1.2\" extension=\"PRSC_IN010201UV01\" />\n" +
            "<!--处理代码，标识此消息是否是产品、训练、调试系统的一部分。D：调试；P：产品；T：训练 -->\n" +
            "<processingCode code=\"P\" />\n" +
            "<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current \n" +
            "processing) -->\n" +
            "<processingModeCode/>\n" +
            "<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->\n" +
            "<acceptAckCode code=\"AL\" />\n" +
            "<!-- 接受者 -->\n" +
            "<receiver typeCode=\"RCV\">\n" +
            "<device classCode=\"DEV\" determinerCode=\"INSTANCE\">\n" +
            "<!-- 接受者ID -->\n" +
            "<id>\n" +
            "<item root=\"2.16.156.10011.2.5.1.3\" extension=\"@111\"/>\n" +
            "</id>\n" +
            "</device>\n" +
            "</receiver>\n" +
            "<!-- 发送者 -->\n" +
            "<sender typeCode=\"SND\">\n" +
            "<device classCode=\"DEV\" determinerCode=\"INSTANCE\">\n" +
            "<!-- 发送者ID -->\n" +
            "<id>\n" +
            "<item root=\"2.16.156.10011.2.5.1.3\" extension=\"@222\"/>\n" +
            "</id>\n" +
            "</device>\n" +
            "</sender>\n" +
            "\n" +
            "<!-- 封装的消息内容 -->\n" +
            "<controlActProcess classCode=\"CACT\" moodCode=\"EVN\">\n" +
            "<subject typeCode=\"SUBJ\">\n" +
            "<actAppointment classCode=\"ACT\" moodCode=\"APT \"\n" +
            "xsi:nil=\"false\">\n" +
            "<!--预约号 预约单流水号，全局唯一号-->\n" +
            "<id extension=\"5124567\" />\n" +
            "<!--就诊类别-->\n" +
            "<code code=\"R\" codeSystem=\"2.16.156.10011.2.3.1.271\">\n" +
            "<displayName value=\"门诊\" />\n" +
            "</code>\n" +
            "<effectiveTime xsi:type=\"IVL_TS\">\n" +
            "<!-- 预约检查时间  -->\n" +
            "<any value=\"201205060900\"/>\n" +
            "</effectiveTime>\n" +
            "<!--患者信息  -->\n" +
            "<subject typeCode=\"SBJ\">\n" +
            "<patient classCode=\"PAT\">\n" +
            "<!--患者ID -->\n" +
            "<id>\n" +
            "<!-- 域ID -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.5\" extension=\"01\" />\n" +
            "<!-- 患者ID -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.4\" extension=\"09102312\" />\n" +
            "<!--门（急）诊号标识 -->\n" +
            "<item root=\"2.16.156.10011.1.10\" extension=\"E10000000\"/>\n" +
            "<!--住院号标识-->\n" +
            "<item root=\"2.16.156.10011.1.12\" extension=\"HA201102113366666\"/>\n" +
            "<!-- 就诊次数 -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.8\" extension=\"12\" />\n" +
            "                                 <!-- 就诊流水号 -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.9\" extension=\"123456\"/>\n" +
            "<!-- 预约排序号-->\n" +
            "<item root=\"2.16.156.10011.2.5.1.11\" extension=\"12\" />\n" +
            "</id>\n" +
            "<patientPerson>\n" +
            "<name xsi:type=\"LIST_EN\">\n" +
            "    <item>\n" +
            "        <!-- 患者姓名 -->\n" +
            "        <part value=\"患者1\"/>\n" +
            "    </item>\n" +
            "</name>\n" +
            "</patientPerson>\n" +
            "<providerOrganization classCode=\"ORG\"\n" +
            "determinerCode=\"INSTANCE\">\n" +
            "<!--病人科室编码-->\n" +
            "<id>\n" +
            "<item extension=\"1409889\" root=\"2.16.156.10011.1.26\"/>\n" +
            "</id>\n" +
            "<!--病人科室名称 -->\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"检验科\" />\n" +
            "</item>\n" +
            "</name>\n" +
            "<contactParty classCode=\"CON\"/>\n" +
            "</providerOrganization>\n" +
            "</patient>\n" +
            "</subject>\n" +
            "<!--预约设备  -->\n" +
            "<reusableDevice typeCode=\"RDV\" xsi:nil=\"false\">\n" +
            "<manufacturedDevice classCode=\"MANU \">\n" +
            "<manufacturedDevice classCode=\"DEV \"\n" +
            "determinerCode=\"INSTANCE \">\n" +
            "<!-- 预约设备编码 -->\n" +
            "<id extension=\"0001\" />\n" +
            "<!-- 预约设备名称 -->\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"发射单光子计算机断层扫描仪\" />\n" +
            "</item>\n" +
            "</name>\n" +
            "</manufacturedDevice>\n" +
            "</manufacturedDevice>\n" +
            "</reusableDevice>\n" +
            "<performer typeCode=\"PRF \" xsi:nil=\"false \">\n" +
            "<assignedPerson classCode=\"ASSIGNED\">\n" +
            "<!--预约员编码 -->\n" +
            "<id>\n" +
            "<item extension=\"0293875\" root=\"2.16.156.10011.1.4\" />\n" +
            "</id>\n" +
            "<!--预约员姓名-->\n" +
            "<assignedPerson determinerCode=\"INSTANCE\"\n" +
            "classCode=\"PSN\">\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"张三\" />\n" +
            "</item>\n" +
            "</name>\n" +
            "</assignedPerson>\n" +
            "</assignedPerson>\n" +
            "</performer>\n" +
            "<!--执行科室  -->\n" +
            "<location typeCode=\"LOC \" xsi:nil=\"false\">\n" +
            "<serviceDeliveryLocation classCode=\"SDLOC \">\n" +
            "<!--执行科室编码 -->\n" +
            "<id>\n" +
            "<item extension=\"23048575\" root=\"2.16.156.10011.1.26\"/>\n" +
            "</id>\n" +
            "\n" +
            "<!--执行科室名称 -->\n" +
            "<addr xsi:type=\"BAG_AD\">\n" +
            "<item>\n" +
            "<part value=\"检验科\" />\n" +
            "</item>\n" +
            "</addr>\n" +
            "</serviceDeliveryLocation>\n" +
            "</location>\n" +
            "<!--检查申请单编号 -->\n" +
            "<referencedOrder typeCode=\"OREF\" xsi:nil=\"false\">\n" +
            "<actOrder classCode=\"ACT\" moodCode=\"RQO\" >\n" +
            "<!--此处指的是需要进行预约的检查的检查申请单号 -->\n" +
            "<id root=\"2.16.156.10011.1.24\" extension=\"\" />\n" +
            "</actOrder>\n" +
            "</referencedOrder>\n" +
            "<!--  医嘱号  -->\n" +
            "<referencedOrder typeCode=\"OREF\">\n" +
            "<actOrder classCode=\"ACT\" moodCode=\"RQO\">\n" +
            "<!--此处指的是需要进行预约的检查的检查医嘱号 -->\n" +
            "<id root=\"2.16.156.10011.1.28\"  extension=\"\" />\n" +
            "</actOrder>\n" +
            "</referencedOrder>\n" +
            "</actAppointment>\n" +
            "</subject>\n" +
            "</controlActProcess>\n" +
            "</PRSC_IN010201UV01>";


    public static String appointXml="<PRSC_IN010101UV01 ITSVersion=\"XML_1.0\" xmlns=\"urn:hl7-org:v3\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"urn:hl7-org:v3 ../multicacheschemas/PRSC_IN010101UV01.xsd\">\n" +
            "<!-- 消息流水号 -->\n" +
            "<id root=\"2.16.156.10011.2.5.1.1\" extension=\"@BS004\"/>\n" +
            "<!-- 消息创建时间 -->\n" +
            "<creationTime value=\"20120106110000\"/>\n" +
            "<!-- 消息的服务标识-->\n" +
            "<interactionId root=\"2.16.156.10011.2.5.1.2\" extension=\"PRSC_IN010101UV01\"/>\n" +
            "<!--处理代码，标识此消息是否是产品、训练、调试系统的一部分。D：调试；P：产品；T：训练 -->\n" +
            "<processingCode code=\"P\"/>\n" +
            "<!-- 消息处理模式: A(Archive); I(Initial load); R(Restore from archive); T(Current \n" +
            "processing) -->\n" +
            "<processingModeCode/>\n" +
            "<!-- 消息应答: AL(Always); ER(Error/reject only); NE(Never) -->\n" +
            "<acceptAckCode code=\"AL\"/>\n" +
            "<!-- 接受者 -->\n" +
            "<receiver typeCode=\"RCV\">\n" +
            "<device classCode=\"DEV\" determinerCode=\"INSTANCE\">\n" +
            "<!-- 接受者ID -->\n" +
            "<id>\n" +
            "<item root=\"2.16.156.10011.2.5.1.3\" extension=\"@111\"/>\n" +
            "</id>\n" +
            "</device>\n" +
            "</receiver>\n" +
            "<!-- 发送者 -->\n" +
            "<sender typeCode=\"SND\">\n" +
            "<device classCode=\"DEV\" determinerCode=\"INSTANCE\">\n" +
            "<!-- 发送者ID -->\n" +
            "<id>\n" +
            "<item root=\"2.16.156.10011.2.5.1.3\" extension=\"@222\"/>\n" +
            "</id>\n" +
            "</device>\n" +
            "</sender>\n" +
            "<!-- 封装的消息内容 -->\n" +
            "<controlActProcess classCode=\"CACT\" moodCode=\"EVN\">\n" +
            "<subject typeCode=\"SUBJ\">\n" +
            "<actAppointment classCode=\"ACT\" moodCode=\"APT \" xsi:nil=\"false\">\n" +
            "<!--预约号 预约单流水号，全局唯一号-->\n" +
            "<id extension=\"5124567\"/>\n" +
            "<!--就诊类别:住院/门诊/急诊 -->\n" +
            "<code code=\"R\" codeSystem=\"2.16.156.10011.2.3.1.271\">\n" +
            "<displayName value=\"门诊\"/>\n" +
            "</code>\n" +
            "<effectiveTime xsi:type=\"IVL_TS\">\n" +
            "<!-- 预约检查时间  -->\n" +
            "<any value=\"201205060900\"/>\n" +
            "</effectiveTime>\n" +
            "<!--患者信息  -->\n" +
            "<subject typeCode=\"SBJ\">\n" +
            "<patient classCode=\"PAT\">\n" +
            "<!--患者ID -->\n" +
            "<id>\n" +
            "<!-- 域ID -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.5\" extension=\"01\"/>\n" +
            "<!-- 患者ID -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.4\" extension=\"09102312\"/>\n" +
            "<!--门（急）诊号标识 -->\n" +
            "<item root=\"2.16.156.10011.1.10\" extension=\"E10000000\"/>\n" +
            "<!--住院号标识-->\n" +
            "<item root=\"2.16.156.10011.1.12\" extension=\"HA201102113366666\"/>\n" +
            "<!-- 就诊次数 -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.8\" extension=\"12\"/>\n" +
            "<!-- 就诊流水号 -->\n" +
            "<item root=\"2.16.156.10011.2.5.1.9\" extension=\"123456\"/>\n" +
            "<!-- 预约排序号-->\n" +
            "<item root=\"2.16.156.10011.2.5.1.11\" extension=\"12\"/>\n" +
            "</id>\n" +
            "<patientPerson>\n" +
            "<name xsi:type=\"LIST_EN\">\n" +
            "<item>\n" +
            "<!-- 患者姓名 -->\n" +
            "<part value=\"患者1\"/>\n" +
            "</item>\n" +
            "</name>\n" +
            "</patientPerson>\n" +
            "<providerOrganization classCode=\"ORG\" determinerCode=\"INSTANCE\">\n" +
            "<!--病人科室编码-->\n" +
            "<id>\n" +
            "<item extension=\"1409889\" root=\"2.16.156.10011.1.26\"/>\n" +
            "</id>\n" +
            "<!--病人科室名称 -->\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"检验科\"/>\n" +
            "</item>\n" +
            "</name>\n" +
            "<contactParty classCode=\"CON\"/>\n" +
            "</providerOrganization>\n" +
            "</patient>\n" +
            "</subject>\n" +
            "<!--预约设备  -->\n" +
            "<reusableDevice typeCode=\"RDV\" xsi:nil=\"false\">\n" +
            "<manufacturedDevice classCode=\"MANU \">\n" +
            "<manufacturedDevice classCode=\"DEV \" determinerCode=\"INSTANCE \">\n" +
            "<!-- 预约设备编码 -->\n" +
            "<id extension=\"0001\"/>\n" +
            "<!-- 预约设备名称 -->\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"发射单光子计算机断层扫描仪\"/>\n" +
            "</item>\n" +
            "</name>\n" +
            "</manufacturedDevice>\n" +
            "</manufacturedDevice>\n" +
            "</reusableDevice>\n" +
            "<performer typeCode=\"PRF \" xsi:nil=\"false \">\n" +
            "<assignedPerson classCode=\"ASSIGNED\">\n" +
            "<!--预约员编码 -->\n" +
            "<id>\n" +
            "<item extension=\"0293875\" root=\"2.16.156.10011.1.4\"/>\n" +
            "</id>\n" +
            "<!--预约员姓名-->\n" +
            "<assignedPerson determinerCode=\"INSTANCE\" classCode=\"PSN\">\n" +
            "<name xsi:type=\"BAG_EN\">\n" +
            "<item>\n" +
            "<part value=\"张三\"/>\n" +
            "</item>\n" +
            "</name>\n" +
            "</assignedPerson>\n" +
            "</assignedPerson>\n" +
            "</performer>\n" +
            "<!--执行科室  -->\n" +
            "<location typeCode=\"LOC \" xsi:nil=\"false\">\n" +
            "<serviceDeliveryLocation classCode=\"SDLOC \">\n" +
            "<!--执行科室编码 -->\n" +
            "<id>\n" +
            "<item extension=\"23048575\" root=\"2.16.156.10011.1.26\"/>\n" +
            "</id>\n" +
            "<!--执行科室名称 -->\n" +
            "<addr xsi:type=\"BAG_AD\">\n" +
            "<item>\n" +
            "<part value=\"检验科\"/>\n" +
            "</item>\n" +
            "</addr>\n" +
            "</serviceDeliveryLocation>\n" +
            "</location>\n" +
            "<!--检查申请单编号 -->\n" +
            "<referencedOrder typeCode=\"OREF\" xsi:nil=\"false\">\n" +
            "<actOrder classCode=\"ACT\" moodCode=\"RQO\">\n" +
            "<!--此处指的是需要进行预约的检查的检查申请单号 -->\n" +
            "<id root=\"2.16.156.10011.1.24\" extension=\"11\"/>\n" +
            "</actOrder>\n" +
            "</referencedOrder>\n" +
            "<!--  医嘱号  -->\n" +
            "<referencedOrder typeCode=\"OREF\">\n" +
            "<actOrder classCode=\"ACT\" moodCode=\"RQO\">\n" +
            "<!--此处指的是需要进行预约的检查的检查医嘱号 -->\n" +
            "<id root=\"2.16.156.10011.1.28\" extension=\"11\"/>\n" +
            "</actOrder>\n" +
            "</referencedOrder>\n" +
            "</actAppointment>\n" +
            "</subject>\n" +
            "</controlActProcess>\n" +
            "</PRSC_IN010101UV01>";
}
